﻿/**************************************************************
封装好的简化调用方法
 *************************************************************/
function popup_show(title, url, height, width, top, left) {

	height = height == undefined ? "400px" : height;
	width = width == undefined ? "600px" : width;
	top = width == undefined ? "100px" : top;
	left = left == undefined ? "" : left;
	
	$.layer({
		type : 2,
		title : [title , true],
		iframe : {src : url},
		area : [width , height],//控制层宽高。'255px'：宽，'auto'：高
		offset : [top , left]//控制层坐标。'100px'：纵坐标，'50%'：横坐标
	});
}